css: Move enum to the only source file using it
authorBenjamin Otte <otte@redhat.com>
Mon, 2 Apr 2012 06:47:11 +0000 (08:47 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 17 Apr 2012 06:59:17 +0000 (08:59 +0200)
gtk/gtkcssstylepropertyimpl.c
gtk/gtkstylepropertyprivate.h

index 9f4bbbde94583ee527f3655522c48ef39d56470a..adf1d8ce31476e6eec9ee1a14b2161d76629bbf0 100644 (file)
 
 /*** REGISTRATION ***/
 
+typedef enum {
+  GTK_STYLE_PROPERTY_INHERIT = (1 << 0)
+} GtkStylePropertyFlags;
+
 static void
 gtk_css_style_property_register (const char *                   name,
                                  guint                          expected_id,
index 1a6b6fb7a651fb35e36c99414c47ced6b0b3cbd7..56fb82be584ecac9f2bd19defb68297f7abf32cb 100644 (file)
@@ -34,10 +34,6 @@ G_BEGIN_DECLS
 typedef struct _GtkStyleProperty           GtkStyleProperty;
 typedef struct _GtkStylePropertyClass      GtkStylePropertyClass;
 
-typedef enum {
-  GTK_STYLE_PROPERTY_INHERIT = (1 << 0)
-} GtkStylePropertyFlags;
-
 typedef GtkCssValue *   (* GtkStyleQueryFunc)        (guint                   id,
                                                      gpointer                data);